[INFO] cloning repository https://github.com/bednabedna/GrammarRs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bednabedna/GrammarRs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbednabedna%2FGrammarRs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbednabedna%2FGrammarRs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0f90638e8defe272e5e34424994743b7b5e5da98
[INFO] checking bednabedna/GrammarRs against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbednabedna%2FGrammarRs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bednabedna/GrammarRs
[INFO] finished tweaking git repo https://github.com/bednabedna/GrammarRs
[INFO] tweaked toml for git repo https://github.com/bednabedna/GrammarRs written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bednabedna/GrammarRs on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bednabedna/GrammarRs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 91fd6dffee3b73ee9a3166ef26921766541067cdc36c3d7b7e7358337df9e3f1
[INFO] running `Command { std: "docker" "start" "-a" "91fd6dffee3b73ee9a3166ef26921766541067cdc36c3d7b7e7358337df9e3f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "91fd6dffee3b73ee9a3166ef26921766541067cdc36c3d7b7e7358337df9e3f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91fd6dffee3b73ee9a3166ef26921766541067cdc36c3d7b7e7358337df9e3f1", kill_on_drop: false }`
[INFO] [stdout] 91fd6dffee3b73ee9a3166ef26921766541067cdc36c3d7b7e7358337df9e3f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd249c365581c27ff62916aeb5829e6f2b011f209c0981ff0f5512545c60be46
[INFO] running `Command { std: "docker" "start" "-a" "fd249c365581c27ff62916aeb5829e6f2b011f209c0981ff0f5512545c60be46", kill_on_drop: false }`
[INFO] [stderr]     Checking grammar v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/parser/parser.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn parse(input: &str) -> Result<Grammar, GrammarParseError> {
[INFO] [stdout]    |                         ^^^^                     ----------------- the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn parse(input: &str) -> Result<Grammar, GrammarParseError<'_>> {
[INFO] [stdout]    |                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/parser/parser.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn parse_grammar(input: &str) -> Result<Grammar, GrammarParseError> {
[INFO] [stdout]    |                             ^^^^                     ----------------- the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn parse_grammar(input: &str) -> Result<Grammar, GrammarParseError<'_>> {
[INFO] [stdout]    |                                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<Box<[T]> as IntoIterator>::into_iter` in Rust 2024
[INFO] [stdout]   --> src/parser/parser.rs:24:25
[INFO] [stdout]    |
[INFO] [stdout] 24 |     for token in tokens.into_iter() {
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/intoiterator-box-slice.html>
[INFO] [stdout]    = note: `#[warn(boxed_slice_into_iter)]` on by default
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]    |
[INFO] [stdout] 24 -     for token in tokens.into_iter() {
[INFO] [stdout] 24 +     for token in tokens.iter() {
[INFO] [stdout]    |
[INFO] [stdout] help: or remove `.into_iter()` to iterate by value
[INFO] [stdout]    |
[INFO] [stdout] 24 -     for token in tokens.into_iter() {
[INFO] [stdout] 24 +     for token in tokens {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<Box<[T]> as IntoIterator>::into_iter` in Rust 2024
[INFO] [stdout]   --> src/parser/parser.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |     for token in tokens.into_iter() {
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/intoiterator-box-slice.html>
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]    |
[INFO] [stdout] 30 -     for token in tokens.into_iter() {
[INFO] [stdout] 30 +     for token in tokens.iter() {
[INFO] [stdout]    |
[INFO] [stdout] help: or remove `.into_iter()` to iterate by value
[INFO] [stdout]    |
[INFO] [stdout] 30 -     for token in tokens.into_iter() {
[INFO] [stdout] 30 +     for token in tokens {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/parser/parser.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn parse(input: &str) -> Result<Grammar, GrammarParseError> {
[INFO] [stdout]    |                         ^^^^                     ----------------- the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn parse(input: &str) -> Result<Grammar, GrammarParseError<'_>> {
[INFO] [stdout]    |                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/parser/parser.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn parse_grammar(input: &str) -> Result<Grammar, GrammarParseError> {
[INFO] [stdout]    |                             ^^^^                     ----------------- the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn parse_grammar(input: &str) -> Result<Grammar, GrammarParseError<'_>> {
[INFO] [stdout]    |                                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<Box<[T]> as IntoIterator>::into_iter` in Rust 2024
[INFO] [stdout]   --> src/parser/parser.rs:24:25
[INFO] [stdout]    |
[INFO] [stdout] 24 |     for token in tokens.into_iter() {
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/intoiterator-box-slice.html>
[INFO] [stdout]    = note: `#[warn(boxed_slice_into_iter)]` on by default
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]    |
[INFO] [stdout] 24 -     for token in tokens.into_iter() {
[INFO] [stdout] 24 +     for token in tokens.iter() {
[INFO] [stdout]    |
[INFO] [stdout] help: or remove `.into_iter()` to iterate by value
[INFO] [stdout]    |
[INFO] [stdout] 24 -     for token in tokens.into_iter() {
[INFO] [stdout] 24 +     for token in tokens {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<Box<[T]> as IntoIterator>::into_iter` in Rust 2024
[INFO] [stdout]   --> src/parser/parser.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |     for token in tokens.into_iter() {
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/intoiterator-box-slice.html>
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]    |
[INFO] [stdout] 30 -     for token in tokens.into_iter() {
[INFO] [stdout] 30 +     for token in tokens.iter() {
[INFO] [stdout]    |
[INFO] [stdout] help: or remove `.into_iter()` to iterate by value
[INFO] [stdout]    |
[INFO] [stdout] 30 -     for token in tokens.into_iter() {
[INFO] [stdout] 30 +     for token in tokens {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parser/parser.rs:317:22
[INFO] [stdout]     |
[INFO] [stdout] 317 |     fn parser(input: &str) -> Parser {
[INFO] [stdout]     |                      ^^^^     ------
[INFO] [stdout]     |                      |        |
[INFO] [stdout]     |                      |        the same lifetime is hidden here
[INFO] [stdout]     |                      |        the same lifetime is hidden here
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 317 |     fn parser(input: &str) -> Parser<'_> {
[INFO] [stdout]     |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/lib.rs:47:24
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 panic!(format!("invalid regex '{}'", test[0]));
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 47 -                 panic!(format!("invalid regex '{}'", test[0]));
[INFO] [stdout] 47 +                 panic!("invalid regex '{}'", test[0]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/lib.rs:83:24
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 panic!(format!("invalid regex '{}'", test[0]));
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 83 -                 panic!(format!("invalid regex '{}'", test[0]));
[INFO] [stdout] 83 +                 panic!("invalid regex '{}'", test[0]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.72s
[INFO] running `Command { std: "docker" "inspect" "fd249c365581c27ff62916aeb5829e6f2b011f209c0981ff0f5512545c60be46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd249c365581c27ff62916aeb5829e6f2b011f209c0981ff0f5512545c60be46", kill_on_drop: false }`
[INFO] [stdout] fd249c365581c27ff62916aeb5829e6f2b011f209c0981ff0f5512545c60be46
